'use strict';

const Service = require('egg').Service;

class ListService extends Service {
    async index() {
        return await this.app.mysql.query('select * from productlist')
    }
}

module.exports = ListService;
